package club.kittybunny.getjobsysbackend.vo;

import club.kittybunny.getjobsysbackend.entity.JobType;

/**
 * @Author: bunny
 * @Description: 我是兔子我会喵，我叫喵星兔
 */
public class JobTypeEditVO {
    private Integer id;
    private String name;
    private String status;
    public JobTypeEditVO create(JobType jobType) {
        this.id = jobType.getId();
        this.name = jobType.getName();
        this.status = jobType.getStatus();
        return this;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
